
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .form_con{
            width: 400px;
            height: 500px;
            background: #f2f2f2;
            margin: 50px;
            padding: 20px;
        }
        .form_con:hover{
            width: 400px;
            height: 500px;
            background: #0af560;
            margin: 50px;
            padding: 20px;
        }
    </style>
</head>
<body>
    <div class="form_con">
        <h3>注册</h3>
        <form action="" method="get" >
            <p style="color: black">
                <label>姓名：</label><input type="text" name="username" class="input_txt" placeholder="姓名"/>
            </p>
            <p style="color: darkred">
                <label style="color: red">密码：</label><input type="password" name="password" class="input_txt" />
            </p>
            <p>
                <label style="color: #0af560">性别：</label>
                <input type="radio" name="gender" value="0" id="1" checked = "checked">男
                <input type="radio" name="gender" value="1">女
            </p>
            <p>
                <label>爱好：</label>
                <input type="checkbox" name="like" value="sing">唱歌
                <input type="checkbox" name="like" value="run">跑步
                <input type="checkbox" name="like" value="swimming">游泳
            </p>
            <p>
                <label>个人描述</label>
                <textarea class="input_txt2"></textarea>
            </p>
            <p>
                <label>籍贯：</label>
                <select name="site" class="input_select">
                    <option value="0">北京</option>
                    <option value="1">上海</option>
                    <option value="2" >广州</option>
                    <option value="3">深圳</option>
                </select>
            </p>
            <p>
                <label>照片：</label>
                <input type="file">
            </p>
            <p>
                <input type="submit" value="提交" class="user_sub" placeholder="zhuce">
                <input type="reset" value="重置">
            </p>

        </form>
    </div>
</body>
</html>